from django.http import HttpResponse
from server.lib.qr_context import get_context


def test(request):
    uid = request.GET.get('uid')
    print(uid)
    qrContext = get_context()
    consumer = qrContext.get(uid)
    print(consumer)
    consumer.sed_text('ppp')
    return HttpResponse('success')
